package com.wn.access.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 托管系统交易记录表
 * </p>
 *
 * @author yellow docker
 * @since 2023-03-01
 */
@Getter
@Setter
@TableName("trade_log")
@ApiModel(value = "TradeLog对象", description = "托管系统交易记录表")
public class TradeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.ASSIGN_ID)  //雪花算法
    private Long id;

    @ApiModelProperty("请求流水编号")
    private String reqCode;

    @ApiModelProperty("请求类型")
    private String reqType;

    @ApiModelProperty("关联业务实体标识")
    private Long objectId;

    @ApiModelProperty("请求时间")
    private Date createDate;

    @ApiModelProperty("数据同步状态")
    private Integer synchronizeStatus;

    @ApiModelProperty("消息确认时间")
    private Date confirmDate;

    @ApiModelProperty("返回数据")   //银行返回的数据进行记录
    private String responseData;

}
